﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SimpleServiceBus.Bus.Pipeline
{
    public class MessagePipelineEventArgs : MessageProcessingEventArgs
    {
        public IMessagePipeline Pipeline { get; set; }
    }

    public class MessagePipelineStatusChangedEventArgs : MessagePipelineEventArgs
    {
        public PipelineStatus PreviousStatus { get; set; }
        public PipelineStatus CurrentStatus { get; set; }
    }
    
    public class MessagePipelineErrorEventArgs : MessagePipelineEventArgs
    {
        public Exception Error { get; set; }
    }
}
